MenuTitleR = 143
MenuTitleG = 96
MenuTitleB = 72
MenuTitleA = 135

MenuButtonR = 205
MenuButtonG = 192
MenuButtonB = 176
MenuButtonA = 100

MenuActiveButtonR = 248
MenuActiveButtonG = 248
MenuActiveButtonB = 255
MenuActiveButtonA = 135	




	for i, v in pairs(vehList) do

		for _, model in pairs(v) do
		
		end

	end
	
	
	
	
	
	
	
	
	--[[	for k, ObjModelName2 in pairs(ObjectNamesList2) do
			local ObjModelHash2 = natives.GAMEPLAY.GET_HASH_KEY(ObjModelName2)
			if ObjModelHash2 == ModelCheck then
				ObjectFound2 = 1
				print(ObjModelName2)
			end
			if k == #ObjectNamesList2 and ObjectFound2 ~= 1 then
				--print("Not an Object")
			end
		end	--LAGS REALLY HARD.]]
		
		
		
		
		
		
		
			
	if TESTCheckSystemActivator then
		local c_FirstCheck = CMemoryBlock(4)
		natives.PLAYER._0x2975C866E6713290(ply, c_FirstCheck)
		local EntityToCheck = c_FirstCheck:ReadDWORD32(0)
		EntityToPass = EntityToCheck
		c_FirstCheck:Release()
		if EntityToCheck ~= nil then
			if natives.ENTITY.IS_ENTITY_A_PED(EntityToCheck) == true then
				EntityTypePed = true
				CheckEntityModel = true
				print("EntityTypePed")

				if natives.ENTITY.IS_ENTITY_ON_SCREEN(EntityToCheck) == true then
					ScreenCheckPed = true
					print("ScreenCheckPed")
					if natives.ENTITY.IS_ENTITY_ATTACHED(EntityToCheck) == true then	
						IsAttachedCheckPed = true
						print("IsAttachedCheckPed")
						if natives.ENTITY.IS_ENTITY_ATTACHED_TO_ENTITY(EntityToCheck, plyPed) == true then
							IsAttachedToPlayerCheckPed = true
							print("IsAttachedToPlayerCheckPed")
							if natives.ENTITY.IS_ENTITY_DEAD(EntityToCheck) == true then
								IsAttachedToPlayerAndDeadCheckPed = true
								print("IsAttachedToPlayerAndDeadCheckPed")
							end
							
							if natives.ENTITY.IS_ENTITY_A_MISSION_ENTITY(EntityToCheck) == true then
								IsAttachedToPlayerAndMissionEntityCheckPed = true
								print("IsAttachedToPlayerAndMissionEntityCheckPed")
							end				
							
							if natives.ENTITY.IS_ENTITY_IN_AIR(EntityToCheck) == true then
								IsAttachedToPlayerAndAirCheckPed = true
								print("IsAttachedToPlayerAndAirCheckPed")
							end

							if natives.ENTITY.IS_ENTITY_IN_WATER(EntityToCheck) == true then
								IsAttachedToPlayerAndWaterCheckPed = true
								print("IsAttachedToPlayerAndWaterCheckPed")
							end	
							
						end
							
						if natives.ENTITY.IS_ENTITY_ATTACHED_TO_ANY_VEHICLE(EntityToCheck) == true then
							IsAttachedToVehicleCheckPed = true
							print("IsAttachedToVehicleCheckPed")
							if natives.ENTITY.IS_ENTITY_DEAD(EntityToCheck) == true then
								IsAttachedToVehicleAndDeadCheckPed = true
								print("IsAttachedToVehicleAndDeadCheckPed")
							end
							
							if natives.ENTITY.IS_ENTITY_A_MISSION_ENTITY(EntityToCheck) == true then
								IsAttachedToVehicleAndMissionEntityCheckPed = true
								print("IsAttachedToVehicleAndMissionEntityCheckPed")
							end				
							
							if natives.ENTITY.IS_ENTITY_IN_AIR(EntityToCheck) == true then
								IsAttachedToVehicleAndAirCheckPed = true
								print("IsAttachedToVehicleAndAirCheckPed")
							end

							if natives.ENTITY.IS_ENTITY_IN_WATER(EntityToCheck) == true then
								IsAttachedToVehicleAndWaterCheckPed = true
								print("IsAttachedToVehicleAndWaterCheckPed")
							end	
							
						end

						if natives.ENTITY.IS_ENTITY_ATTACHED_TO_ANY_PED(EntityToCheck) == true then
							IsAttachedToPedCheckPed = true
							print("IsAttachedToPedCheckPed")
							if natives.ENTITY.IS_ENTITY_DEAD(EntityToCheck) == true then
								IsAttachedToPedAndDeadCheckPed = true
								print("IsAttachedToPedAndDeadCheckPed")
							end
							
							if natives.ENTITY.IS_ENTITY_A_MISSION_ENTITY(EntityToCheck) == true then
								IsAttachedToPedAndMissionEntityCheckPed = true
								print("IsAttachedToPedAndMissionEntityCheckPed")
							end				
							
							if natives.ENTITY.IS_ENTITY_IN_AIR(EntityToCheck) == true then
								IsAttachedToPedAndAirCheckPed = true
								print("IsAttachedToPedAndAirCheckPed")
							end

							if natives.ENTITY.IS_ENTITY_IN_WATER(EntityToCheck) == true then
								IsAttachedToPedAndWaterCheckPed = true
								print("IsAttachedToPedAndWaterCheckPed")
							end	
							
						end

						if natives.ENTITY.IS_ENTITY_ATTACHED_TO_ANY_OBJECT(EntityToCheck) == true then
							IsAttachedToObjCheckPed = true
							print("IsAttachedToObjCheckPed")
							if natives.ENTITY.IS_ENTITY_DEAD(EntityToCheck) == true then
								IsAttachedToObjAndDeadCheckPed = true
								print("IsAttachedToObjAndDeadCheckPed")
							end
							
							if natives.ENTITY.IS_ENTITY_A_MISSION_ENTITY(EntityToCheck) == true then
								IsAttachedToObjAndMissionEntityCheckPed = true
								print("IsAttachedToObjAndMissionEntityCheckPed")
							end				
							
							if natives.ENTITY.IS_ENTITY_IN_AIR(EntityToCheck) == true then
								IsAttachedToObjAndAirCheckPed = true
								print("IsAttachedToObjAndAirCheckPed")
							end

							if natives.ENTITY.IS_ENTITY_IN_WATER(EntityToCheck) == true then
								IsAttachedToObjAndWaterCheckPed = true
								print("IsAttachedToObjAndWaterCheckPed")
							end
							
						end	
						
					end
					
					if natives.ENTITY.IS_ENTITY_DEAD(EntityToCheck) == true then
						DeadCheckPed= true
						print("DeadCheckPed")
					end
				
					
					if natives.ENTITY.IS_ENTITY_A_MISSION_ENTITY(EntityToCheck) == true then
						MissionEntityCheckPed = true
						print("MissionEntityCheckPed")	
					end				
					
					if natives.ENTITY.IS_ENTITY_IN_AIR(EntityToCheck) == true then
						AirCheckPed = true
						print("AirCheckPed")
					end

					if natives.ENTITY.IS_ENTITY_IN_WATER(EntityToCheck) == true then
						WaterCheckPed = true
						print("WaterCheckPed")	
					end								
		
				end
			end
			if natives.ENTITY.IS_ENTITY_A_VEHICLE(EntityToCheck) == true then
				print("Yep I am a Vehicle")
				print(EntityToCheck)
				print(EntityToCheck)	
			else
			end
				
			if natives.ENTITY.IS_ENTITY_AN_OBJECT(EntityToCheck) == true then
				print("Yep I am a Object")
				print(EntityToCheck)
				print(EntityToCheck)
			else
			end			
		end
	end